<div class="product">
<p class="infopost">Нэмсэн <span class="date"><?php echo $data->udate; ?></span>
<img src="<?php echo $data->pic; ?>" width="300" height="220" alt="" class="fl" />
<br>
<?php echo $data->price; ?><br>
<?php echo $data->description;?><br>
<?php echo $data->name; ?>

</div>


<?php echo CHtml::ajaxLink('<div class="cart"></div>', 
	array('ajax'), 	
	array('update'=>'#buy','data'=>array('id'=>$data->id)));?>